layui.define(['request'], function (exports) {
    var request = layui.request
    exports('userApi', {
        list: (param) => request.get('/admin/system/user/page', {data: param}),
        get: (id) => request.get('/admin/system/user/getInfo/' + id),
        delete: (ids) => request.delete('/admin/system/user/remove', {ids: ids}),
        edit: (param) => request.put('/admin/system/user/update', param),
        add: (param) => request.post('/admin/system/user/add', param),
    });
});